package io.renren.exception;

public class ResponseModelException extends RuntimeException {
	private String status;
	private String errorcode;
	private String reason;
	private Object result;

	public ResponseModelException() {

	}

	public ResponseModelException(String status, String errorcode, String reason,
                                  Object result) {
        super(reason);
        this.status = status;
		this.errorcode = errorcode;
		this.reason = reason;
		this.result = result;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getErrorcode() {
		return errorcode;
	}

	public void setErrorcode(String errorcode) {
		this.errorcode = errorcode;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		this.result = result;
	}
}
